package com.bub.pay.core.manager.role.menu;

import com.bub.pay.core.base.IBaseManager;
import com.bub.pay.core.entity.domain.SysRolePerm;

import java.util.List;

public interface RolePermManager extends IBaseManager<SysRolePerm> {
   /* int grant(List<RoleMenuVO> list, Long createId);*/

    int grant(Long[] menus,Long RoleId,Long createId);

    int reGrant(Long[] menus,Long RoleId,Long createId);

    int insertList(List<SysRolePerm> rolePerms);
}
